package TrainingData;


/**
 * @author Robert Pethes & Gergely Neu
 *
 * A class for treating training instances. Each training instance consists of a sequence of emissions and a sequence of states. 
 */
public class TrainingInstance {
	
	protected int[] _emissions;
	protected int[] _states;
	
	/**
	 * Initializes a TrainingInstance with the given emissions and states.
	 * 
	 * @param emissions
	 * @param states
	 */
	public TrainingInstance(int[] emissions, int[] states){
		_emissions = emissions;
		_states = states;
	}
	
	/**
	 * @return the emission sequence of the training instance.
	 */
	public int[] getEmissions(){
		return _emissions;
	}
	
	/**
	 * @return the state sequence of the training instance.
	 */
	public int[] getStates(){
		return _states;
	}
}
